Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] rust-staticlib-gen (3 packages) (0.2.0) #26750

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

Lupus
Copy link
Contributor

@Lupus Lupus commented Oct 16, 2024

Utility for generating Rust static libraries for OCaml projects

CHANGES:

Added

  • rust-staticlib-gen

    • Ensure we generate code for compatible versions of libs/tools
  • dune-cargo-build

    • Emit debug output and exit with error when no artifacts are copied
    • Add -help option and detailed usage
    • Pass --offline to cargo only if network is unavailable (checks crates.io:443)
    • Add support for manifest path along with crate name to specify what to build
    • Add support for passing arbitrary flags to cargo after "--"
    • Add --profile flag to select release/debug build for cargo (compatible with dune profile naming)

Fixed

  • rust-staticlib-gen
    • Fix opam lib initialization (was not working in CI)

CHANGES:

### Added

- **rust-staticlib-gen**
  - Ensure we generate code for compatible versions of libs/tools

- **dune-cargo-build**
  - Emit debug output and exit with error when no artifacts are copied
  - Add -help option and detailed usage
  - Pass --offline to cargo only if network is unavailable (checks crates.io:443)
  - Add support for manifest path along with crate name to specify what to build
  - Add support for passing arbitrary flags to cargo after "--"
  - Add --profile flag to select release/debug build for cargo (compatible with dune profile naming)

### Fixed

- **rust-staticlib-gen**
  - Fix opam lib initialization (was not working in CI)
@shonfeder
Copy link
Collaborator

Thanks for publishing the update! Please consider announcing on he discourse forum.

@shonfeder shonfeder merged commit f9f7ab4 into ocaml:master Oct 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants